﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Serialization;

namespace WeSContactData.model
{
    [DataContract]
    public class Email
    {
        public int id { get; set; }
          [DataMember]
        public string emailFrom { get; set; }
        [DataMember(IsRequired = true)]
        public string emailTo { get; set; }
          [DataMember]
        public string subject { get; set; }
          [DataMember]
        public string body { get; set; }
        public bool isHTMLEncoded { get; set; }
        public string enqueueTime { get; set; }         
        public string dequeueTime { get; set; }
          [DataMember]
        public string fileName { get; set; }

    }
}